package org.despair2D.ui 
{
	import org.despair2D.ui.events.SelectedEvent;
	import org.despair2D.ui.supportClasses.AbstractToggleButton;
	
	import org.despair2D.core.ns_despair;
	use namespace ns_despair;
	
	
	[Event(name="selectChange", type="org.despair2D.ui.events.SelectedEvent")] 
	
public class CheckBox extends AbstractToggleButton 
{
	
	public function CheckBox( classRef:*, selected:Boolean = false, needClick:Boolean = true ) 
	{
		super(classRef, selected, needClick);
	}
	
	
	
	
	final override protected function _selectedChangeAction() : void
	{
		this.dispatchEvent(new SelectedEvent(SelectedEvent.SELECT_CHANGE, m_selected));
	}

}

}